146
Beginner’s Guide to Code Algorithms
146
This graph shows the cumulative count of COVID infections or deaths by state.
11.5 THE MAP CHART
The next graph we want is a graph of new infections or deaths to see the trend for
multiple states.
FIGURE 11.9 Graph of chosen states.
If we choose a top three instead of specific states, we would like to see a similar
graph as above but want the code to figure out which out of 50 states are top three and
show only those three states.
FIGURE 11.10 Graph of top three states.
11.6 THE ALGORITHM FOR THE CHART
Here is the algorithm for developing this chart.
Step 1
Set up the Form (user interface). To do this, you will need to follow the instructions
that I described in Chapter 1. After you are done, you should have the following
fields defined.